<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
    <meta name="theme-color" content="#000000" />
    <title>Soico</title>
    <link rel="stylesheet" href="../../css/main.827f7436.css" />
    <link rel="stylesheet" href="../../css/materialize.min.css" />
    <link rel="stylesheet" href="../../css/App.css" />
    <link rel="stylesheet" href="../../css/Header.css" />
    <script type="text/javascript" async="" src="../../js/common/recaptcha__zh_cn.js"></script>
    <script type="text/javascript" src="../../js/common/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../../js/common/materialize.min.js"></script>
    <script type="text/javascript" src="../../js/common/public.js"></script>
    <script type="text/javascript" src="../../js/common/requestAPi.js"></script>
    <script type="text/javascript" src="../../js/common/layer.js"></script>
    <script type="text/javascript" src="../../js/common/md5.js"></script>
</head>
<body>
<div id="root">
    <div style="background-color: rgb(250, 250, 250); min-height: 100vh; min-width: 1000px; font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">
        <div>
            <div class="s-alert-wrapper"></div>
            <%@include file="top.jsp"%>
            <div class="container">
                <div style="margin-bottom: 20px;">
                    <p id="userName">您的Soico钱包:jshao</p>
                    <div class="col s12" style="margin-top: 30px;">
                        <div class="row">
                            <div class="col s1.3">
                                <a id="personalPage" class="textcenter headerItem personalPage" href="profileSkip?pk=${user}&time=${time}&auth=${auth}">总览</a>
                            </div>
                            <div class="col s1.3">
                                <a class="textcenter headerItem " href="deposeSkip?pk=${user}&time=${time}&auth=${auth}">充值</a>
                            </div>
                            <div class="col s1.3">
                                <a class="textcenter headerItem " href="withdrawsSkip?pk=${user}&time=${time}&auth=${auth}">提现</a>
                            </div>
                            <div class="col s1.3">
                                <a class="textcenter headerItem " href="ordersSkip?pk=${user}&time=${time}&auth=${auth}">投资纪录</a>
                            </div>
                            <div class="col s1.3">
                                <a class="textcenter headerItem " href="transactionsSkip?pk=${user}&time=${time}&auth=${auth}">ETH交易纪录</a>
                            </div>
                            <!--<div class="col s1.3">
                                <a class="textcenter headerItem " href="transactions_token.jsp">Token交易纪录</a>
                            </div>-->
                           <!-- <div class="col s1.3">
                                <a class="textcenter headerItem " href="setting.jsp">设置</a>
                            </div>-->
                            <!--<div class="col s1.3">
                                <a class="textcenter headerItem promo " href="referral.jsp">免手续费</a>
                            </div>-->
                            <div class="col s1.3">
                                <a class="textcenter headerItem active" href="supportSkip?pk=${user}&time=${time}&auth=${auth}">联系客服</a>
                            </div>
                            <!--<div class="col s1.3">
                                <a class="textcenter headerItem " href="VIP.jsp">VIP</a>
                            </div>-->
                        </div>
                    </div>
                    <div class="cardContainer">
                        <p class="cardTitle">联系客服</p>
                        <div style="height: 1px; background-color: rgb(186, 184, 184); margin: 10px 0px;"></div>
                        <div>
                            <div>
                                <div class="row">
                                    <div class="col s6" style="line-height: 80px;">
                                        <div class="row">
                                            <div class="col s6" style="margin-left: 20px;">
                                                通过微信
                                            </div>
                                            <div class="col s5">
                                                soico01或soico02
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col s6" style="margin-left: 20px;">
                                                通过Telegram
                                            </div>
                                            <div class="col s5">
                                                @soicoco
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col s6">
                                        <div class="row">
                                            <div class="col s5">
                                                <img class="qrcode" src="images/mYb0XWe.png" />
                                            </div>
                                            <div class="col s5">
                                                <img class="qrcode" src="images/image.png" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <%--<div class="row pageContainer">--%>
                                    <%--<div class="col s6" style="margin-left: 20px;">--%>
                                        <%--站内消息--%>
                                    <%--</div>--%>
                                    <%--<form id="support" class="col s9 offset-s2 cardContainer">--%>
                                        <%--<div class="row">--%>
                                            <%--<div class="input-field col s12">--%>
                                                <%--<div>--%>
                                                    <%--<label class="active"></label>--%>
                                                    <%--<div>--%>
                                                        <%--<input type="text" name="subject" class="title" value="" />--%>
                                                        <%--<label class="active" for="subject">问题标题</label>--%>
                                                        <%--<span class="red-text hide">请输入正确标题</span>--%>
                                                    <%--</div>--%>
                                                <%--</div>--%>
                                            <%--</div>--%>
                                        <%--</div>--%>
                                        <%--<div class="row">--%>
                                            <%--<div class="input-field col s12">--%>
                                                <%--<div>--%>
                                                    <%--<label class="active"></label>--%>
                                                    <%--<div>--%>
                                                        <%--<textarea name="content" class="contents" style="margin-top: 8px; padding-left: 8px; border: 1px solid rgb(0, 93, 170); height: 69px;"></textarea>--%>
                                                        <%--<label class="active" for="content">问题内容</label>--%>
                                                        <%--<span class="red-text hide">请输入问题内容</span>--%>
                                                    <%--</div>--%>
                                                <%--</div>--%>
                                            <%--</div>--%>
                                        <%--</div>--%>
                                        <%--<div class="col s5 offset-s7" style="margin-bottom: 20px;">--%>
                                            <%--<button id="submit" class="btn waves-effect waves-light signupBtn col s12">发送</button>--%>
                                        <%--</div>--%>
                                    <%--</form>--%>
                                <%--</div>--%>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <footer class="page-footer">
                <%@include file="footer.jsp"%>
            </footer>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function(){

        $("#support input,#support textarea").on("blur",function(){
            var obj = $(this);
            var vals = $(this).val();
            if(vals==''){
                obj.siblings("label").removeClass("active")
            }
            checkForm(obj);
        });
        $("#support input,#support textarea").on("focus",function(){
            var obj = $(this);
            obj.siblings("label").addClass("active")
        });

        function checkForm(obj){ // #tbInfoBox

            if($(obj).hasClass("title")){
                var title=(obj).val().trim();
                if(title==''){
                    $(obj).siblings(".red-text").removeClass("hide");
                    return false;
                }else{
                    $(obj).siblings(".red-text").addClass("hide");
                }
            }


            if($(obj).hasClass("contents")){
                var contents=(obj).val();
                if(contents==''){
                    $(obj).siblings(".red-text").removeClass("hide");
                    return false;
                }else{
                    $(obj).siblings(".red-text").addClass("hide");
                }
            }



            return true;
        }

        $("#submit").click(function(){
            var objArray = $("#support input,#support textarea");
            var objArrayLen = objArray.length;
            for(var i = 0; i < objArrayLen; i++){
                flagForm = checkForm($(objArray[i]));
                if(!flagForm){
                    return false;
                }
            }
            $("#support").submit();
        })
    })
</script>
</body>
</html>